package com.ebt.m.utils.android;

/**
 * DonwloadThread<br>
 * 主要功能：<br>
 * 下载线程的抽象类型,所有下载线程都继承于他<br>
 * 提供下载线程公共的方法<br>
 * 
 * @author ZhanWu.Li
 * @create 2013.1.12.29
 */
public abstract class DonwloadThread extends Thread {

	public abstract double getDownLength();

	public abstract long getFileSize();

	public abstract void cancel();

	public abstract void pause();

	public abstract void reStart();

	public abstract boolean isFinish();

	public abstract void deleteTempFile();

	public abstract boolean isThreadComplete();
	
	public abstract boolean isSoapHeaderInvalidate();
	
	public abstract boolean isDownloadFileMD5Same() throws Exception;
}
